//
//  WQVideoEditCommand.m
//  VideoDemo
//
//  Created by C on 2019/8/20.
//  Copyright © 2019 c. All rights reserved.
//

#import "WQVideoEditCommand.h"

NSString* const AVSEEditCommandCompletionNotification = @"AVSEEditCommandCompletionNotification";
NSString* const AVSEExportCommandCompletionNotification = @"AVSEExportCommandCompletionNotification";

@implementation WQVideoEditCommand

- (id)initWithComposition:(AVMutableComposition *)composition videoComposition:(AVMutableVideoComposition *)videoComposition
{
    self = [super init];
    if(self != nil) {
        self.mutableComposition = composition;
        self.mutableVideoComposition = videoComposition;
    }
    return self;
}

- (id)initWithComposition:(AVMutableComposition *)composition videoComposition:(AVMutableVideoComposition *)videoComposition audioMix:(AVMutableAudioMix *)audioMix
{
    self = [super init];
    if(self != nil) {
        self.mutableComposition = composition;
        self.mutableVideoComposition = videoComposition;
        self.mutableAudioMix = audioMix;
    }
    return self;
}

- (void)performWithAsset:(AVAsset*)asset
{
    [self doesNotRecognizeSelector:_cmd];
}

@end
